package com.tbit.uqbike.client.service.impl;

import com.tbit.uqbike.client.dao.huge.ImageDao;
import com.tbit.uqbike.client.pojo.Image;
import com.tbit.uqbike.client.service.ImageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("imageService")
public class ImageServiceImpl implements ImageService {
    @Autowired
    private ImageDao imageDao;

    @Override
    public Image getByImageId(String imageId) {
        return imageDao.getByImageId(imageId);
    }

    @Override
    public void addBatch(List<Image> list) {
        imageDao.addBatch(list);
    }
}  